package top.itlir.edc.service;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import top.itlir.edc.domain.User;

public interface IUserService {

	User findUserByUsername(String username);

	Page<User> pageQuery(Specification<User> spec, Pageable pageable);

	void save(User model, Integer[] roleIds);

}
